
package com.epam.android.training.level1.rss;

import com.epam.android.training.level1.UniqueEntity;

import java.net.URL;
import java.util.Collection;
import java.util.List;

public interface NewsFeed extends UniqueEntity {

  boolean isLight();

  @Override
  long getId();

  void setId(long id);

  String getTitle();

  void setTitle(String title);

  URL getFeedUrl();

  void setFeedUrl(URL feedUrl);

  void setFeedUrl(String feedUrl);

  URL getLink();

  void setLink(URL link);

  void setLink(String link);

  URL getIconUrl();

  void setIconUrl(URL iconUrl);

  void setIconUrl(String iconUrl);

  List<String> getCategories();

  void addCategory(String category);

  void addCategories(Collection<String> categories);

  void setCategories(List<String> categories);

  List<ItemBo> getItems();

  void addItem(ItemBo item);

  void addItems(Collection<ItemBo> items);

  void setItems(List<ItemBo> items);
}
